[INFO] cloning repository https://github.com/qwq233/ua4f
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qwq233/ua4f" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqwq233%2Fua4f", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqwq233%2Fua4f'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4d0a0265d1c85357d98ceba78349c274e2d31a0a
[INFO] fixing qwq233/ua4f against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqwq233%2Fua4f" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/qwq233/ua4f
[INFO] finished tweaking git repo https://github.com/qwq233/ua4f
[INFO] tweaked toml for git repo https://github.com/qwq233/ua4f written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/qwq233/ua4f on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/qwq233/ua4f already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6200d7758a1b54870d68f25be8dc104cc65b87cfd1b9273ef8516ee5cb455f29
[INFO] running `Command { std: "docker" "start" "6200d7758a1b54870d68f25be8dc104cc65b87cfd1b9273ef8516ee5cb455f29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6200d7758a1b54870d68f25be8dc104cc65b87cfd1b9273ef8516ee5cb455f29" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6200d7758a1b54870d68f25be8dc104cc65b87cfd1b9273ef8516ee5cb455f29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6200d7758a1b54870d68f25be8dc104cc65b87cfd1b9273ef8516ee5cb455f29" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling thiserror v1.0.64
[INFO] [stderr]     Checking anstyle-query v1.1.1
[INFO] [stderr]     Checking anstyle v1.0.8
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking anstyle-parse v0.2.5
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]    Compiling anyhow v1.0.89
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking colorchoice v1.0.2
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]     Checking destructure_traitobject v0.2.0
[INFO] [stderr]     Checking unsafe-any-ors v1.0.0
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking clap_lex v0.7.2
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]     Checking typemap-ors v1.0.0
[INFO] [stderr]     Checking thread-id v4.2.2
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking arc-swap v1.7.1
[INFO] [stderr]     Checking log-mdc v0.1.0
[INFO] [stderr]     Checking anstream v0.6.15
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking clap_builder v4.5.20
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking ordered-float v2.10.1
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking indexmap v2.5.0
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.64
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]     Checking tokio v1.43.1
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking clap v4.5.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking socks5-proto v0.4.1
[INFO] [stderr]     Checking socks5-server v0.10.1
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking serde-value v0.7.0
[INFO] [stderr]     Checking log4rs v1.3.0
[INFO] [stderr]     Checking ua4f v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:73:31
[INFO] [stdout]     |
[INFO] [stdout]  73 |       while let Ok((conn, _)) = server.accept().await {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^-----
[INFO] [stdout]     |                                 |               |
[INFO] [stdout]     |                                 |               this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |                                 |               up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                                 |               this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                 |               `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |                                 this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                                 up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                                 `__awaitee` calls a custom destructor
[INFO] [stdout]     |                                 `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]  74 | /         tokio::spawn(async move {
[INFO] [stdout]  75 | |             match handler(conn).await {
[INFO] [stdout]  76 | |                 Ok(()) => {}
[INFO] [stdout]  77 | |                 Err(err) => error!("handle err: {err}"),
[INFO] [stdout]  78 | |             }
[INFO] [stdout]  79 | |         });
[INFO] [stdout]     | |          -
[INFO] [stdout]     | |          |
[INFO] [stdout]     | |__________this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |            `#2` will be dropped later as of Edition 2024
[INFO] [stdout]  80 |       }
[INFO] [stdout]     |       - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#3` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.1/src/io/poll_evented.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.1/src/io/poll_evented.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.1/src/runtime/task/join.rs:351:1
[INFO] [stdout]     |
[INFO] [stdout] 351 | impl<T> Drop for JoinHandle<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:171:51
[INFO] [stdout]     |
[INFO] [stdout] 171 |                         let user_agent = unsafe { USERAGENT.as_ref().unwrap() };
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:73:31
[INFO] [stdout]     |
[INFO] [stdout]  73 |       while let Ok((conn, _)) = server.accept().await {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^-----
[INFO] [stdout]     |                                 |               |
[INFO] [stdout]     |                                 |               this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |                                 |               up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                                 |               this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                 |               `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |                                 this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                                 up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                                 `__awaitee` calls a custom destructor
[INFO] [stdout]     |                                 `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]  74 | /         tokio::spawn(async move {
[INFO] [stdout]  75 | |             match handler(conn).await {
[INFO] [stdout]  76 | |                 Ok(()) => {}
[INFO] [stdout]  77 | |                 Err(err) => error!("handle err: {err}"),
[INFO] [stdout]  78 | |             }
[INFO] [stdout]  79 | |         });
[INFO] [stdout]     | |          -
[INFO] [stdout]     | |          |
[INFO] [stdout]     | |__________this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |            `#2` will be dropped later as of Edition 2024
[INFO] [stdout]  80 |       }
[INFO] [stdout]     |       - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#3` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.1/src/io/poll_evented.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.1/src/io/poll_evented.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.1/src/runtime/task/join.rs:351:1
[INFO] [stdout]     |
[INFO] [stdout] 351 | impl<T> Drop for JoinHandle<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:171:51
[INFO] [stdout]     |
[INFO] [stdout] 171 |                         let user_agent = unsafe { USERAGENT.as_ref().unwrap() };
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.89s
[INFO] [stderr] crater-edition-check: ua4f v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking ua4f v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `command`
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use clap::{command, Parser};
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `command`
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use clap::{command, Parser};
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:171:51
[INFO] [stdout]     |
[INFO] [stdout] 171 |                         let user_agent = unsafe { USERAGENT.as_ref().unwrap() };
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ua4f` (bin "ua4f" test) due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:171:51
[INFO] [stdout]     |
[INFO] [stdout] 171 |                         let user_agent = unsafe { USERAGENT.as_ref().unwrap() };
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ua4f` (bin "ua4f") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "6200d7758a1b54870d68f25be8dc104cc65b87cfd1b9273ef8516ee5cb455f29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6200d7758a1b54870d68f25be8dc104cc65b87cfd1b9273ef8516ee5cb455f29", kill_on_drop: false }`
[INFO] [stdout] 6200d7758a1b54870d68f25be8dc104cc65b87cfd1b9273ef8516ee5cb455f29
